﻿using System;
using System.Collections.Generic;
using System.Text;
using Qadir.MVC.Streamline;

namespace QadirMVCStreamlineConsoleSample
{
    [View("Option1")]
    public class Option1
    {
        public string Name { get { return "Option1"; } }

        public Option1()
        {

        }

        public void Make(IModel parent, Dictionary<string, object> args)
        {
            Console.WriteLine("This view was generated through MVC. You chose option 1.");
        }
    }

    [View("Option2")]
    public class Option2
    {
        public string Name { get { return "Option2"; } }

        public Option2()
        {

        }

        public void Make(IModel parent, Dictionary<string, object> args)
        {
            Console.WriteLine("This view was generated through MVC. You chose option 2.");
        }
    }
}
